/**
 * Created by lenovo on 2017/3/19.
 */
function add(id){
	$("#purchase").load("add_commodity.html")
}
function add_class(id){
	$("#purchase").load("add_commodity_class.html")
}
function add_warehouse(id){
	$("#purchase").load("add_warehouse.html")
}
function add_branch(id){
	$("#purchase").load("add_branch.html")
}
function add_supplier(id){
	$("#purchase").load("add_supplier.html")
}
function add_purchase(id){
	$("#purchase").load("add_purchase.html")
}







function detail(id){
	$("#purchase").load("add_commodity.html")
}
function detail_class(id){
	$("#purchase").load("add_commodity_class.html")
}
function detail_warehouse(id){
	$("#purchase").load("add_warehouse.html")
}
function detail_branch(id){
	$("#purchase").load("add_branch.html")
}
function detail_purchase(id){
	$("#purchase").load("add_purchase.html")
}
function detail_supplier(id){
	$("#purchase").load("add_supplier.html")
}




function delete_one(id){
    confirm("确认删除本条信息！！！")
}

